package br.com.werp.suporte.lov;
import java.util.*;
import org.apache.struts.action.*;
import javax.servlet.http.*;

/**
 * Creation Date 05/04/2006 08:50:06
 * Last Modify Date 19/10/2006 10:35:49
 */

public class RoleDispActionForm extends org.apache.struts.action.ActionForm {
  public String rolesDisponiveis;
  public String javascript;
  private boolean valida = false;
  public RoleDispActionForm() {
  }
  /**
    * ROLESDISPONIVEIS: Gets the value of this field.
    */
  public String getRolesDisponiveis() {
    return rolesDisponiveis;
  }
  /**
     * ROLESDISPONIVEIS: Sets thhe value for this field.
     */
  public void setRolesDisponiveis(String ROLESDISPONIVEIS) {
    rolesDisponiveis = ROLESDISPONIVEIS;
  }
  /**
    * JAVASCRIPT: Gets the value of this field.
    */
  public String getJavascript() {
    return javascript;
  }
  /**
     * JAVASCRIPT: Sets thhe value for this field.
     */
  public void setJavascript(String JAVASCRIPT) {
    javascript = JAVASCRIPT;
  }
  /**
    * Reset all fields.
    */
  public void reset(org.apache.struts.action.ActionMapping mapping,
      javax.servlet.http.HttpServletRequest request) {
    rolesDisponiveis = null;
    javascript = null;
  }
  /**
    * Validate fields and return ActionErrors.
    */

  public ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
      javax.servlet.http.HttpServletRequest request) {
    ActionErrors errors = new ActionErrors();
    valida = false;
    if (errors != null && errors.size() > 0) {
      javax.servlet.http.HttpSession session = request.getSession(true);
      ActionForward actionForward = null;
      session.setAttribute(mapping.getName(), this);
    }
    return errors;
  }
}
